package com.lnking.lnkingplace.model.request.place;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class PlaceAddRequest {

    @NotNull(message = "[placeName]不能为空")
    @NotBlank(message = "[placeName]不能为空")
    private String placeName;

    private String placeType;

    @ApiModelProperty("类型Id")
    private String placeTypeId;

    @ApiModelProperty("类型对应字段")
    private String info;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "联系人",required = true)
    private String linkman;

    @ApiModelProperty(value = "联系人电话",required = true)
    private String linkmanPhone;

    @ApiModelProperty(value = "场所电话")
    private String phoneNumber;

    @ApiModelProperty(value = "经纬度")
    private Float lngitude;

    @TableField("latitude")
    private Float latitude;

    @TableField("opening_time")
    private String openingTime;

    @TableField("area")
    private String area;

    @TableField("assets")
    private Float assets;

    @TableField("business_nature")
    private String businessNature;

    @TableField("worker_num")
    private Integer workerNum;

    @ApiModelProperty(value = "证件")
    private String certificate;

    @ApiModelProperty("所属街道")
    private String street;

    @ApiModelProperty("营业执照号")
    private String businessLicenseNo;

    @ApiModelProperty("营业状态")
    private String operatingStatus;


    @ApiModelProperty("店铺招牌")
    private String shopSign;

    @NotNull(message = "[核酸配置]不能为空")
    @ApiModelProperty("检测配置时间")
    private Integer configDay;
}
